OrderedBag Constructor

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Overload List

NameDescription
Public methodOrderedBag<(Of <T>)>OrderedBag<(Of <T>)>New()()
Creates a new OrderedBag. The T must implement IComparable<T> or IComparable. The CompareTo method of this interface will be used to compare items in this bag.
Public methodOrderedBag<(Of <T>)>OrderedBag<(Of <T>)>New(IComparer<(Of <T>)>)
Creates a new OrderedBag. The Compare method of the passed comparison object will be used to compare items in this bag.
Public methodOrderedBag<(Of <T>)>OrderedBag<(Of <T>)>New(IEnumerable<(Of <T>)>)
Creates a new OrderedBag. The T must implement IComparable<T> or IComparable. The CompareTo method of this interface will be used to compare items in this bag. The bag is initialized with all the items in the given collection.
Public methodOrderedBag<(Of <T>)>OrderedBag<(Of <T>)>New(Comparison<(Of <T>)>)
Creates a new OrderedBag. The passed delegate will be used to compare items in this bag.
Public methodOrderedBag<(Of <T>)>OrderedBag<(Of <T>)>New(IEnumerable<(Of <T>)>, IComparer<(Of <T>)>)
Creates a new OrderedBag. The Compare method of the passed comparison object will be used to compare items in this bag. The bag is initialized with all the items in the given collection.
Public methodOrderedBag<(Of <T>)>OrderedBag<(Of <T>)>New(IEnumerable<(Of <T>)>, Comparison<(Of <T>)>)
Creates a new OrderedBag. The passed delegate will be used to compare items in this bag. The bag is initialized with all the items in the given collection.

See Also